From: Roger Pau Monne Date: Tue, 4 Aug 2015 10:02:55 +0000 (+0200) Subject: libxl: increase hotplug timeout to 40s X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2653 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8928100064f6c8a5ba0c2e798172f123024631ba;p=xen.git libxl: increase hotplug timeout to 40s The default libxl timeout for hotplug scripts execution is too low, when launching 40 HVM guests in parallel, all using the same file as disk, execution times of ~20s are expected. Increase the timeout to 40s in order to be sure hotplug scripts have enough time to execute. This is a short term solution. Reported-by: Konrad Rzeszutek Wilk Signed-off-by: Roger Pau Monné Acked-by: Wei Liu --- diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index 2771c71af0..29e04291b5 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -86,7 +86,7 @@ #define LIBXL_INIT_TIMEOUT 10 #define LIBXL_DESTROY_TIMEOUT 10 -#define LIBXL_HOTPLUG_TIMEOUT 10 +#define LIBXL_HOTPLUG_TIMEOUT 40 /* QEMU may be slow to load and start due to a bug in Linux where the I/O * subsystem sometime produce high latency under load. */ #define LIBXL_DEVICE_MODEL_START_TIMEOUT 60